package com.wish.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.wish.dto.RoomReservationDto;
import com.wish.entity.RoomReservation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wish.entity.SysRegion;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 * 预约房源表 Mapper 接口
 * </p>
 *
 * @author 五组
 * @since 2021-03-29
 */
@Mapper
public interface RoomReservationMapper extends BaseMapper<RoomReservation> {
    List<RoomReservation> selects( RoomReservationDto roomReservationDto);

    boolean update(@Param("status")Integer status,@Param("ids") String id);


}
